<#if failed??>
    <div class="alert alert-danger">
        <a href="#" class="close" data-dismiss="alert">&times;</a>${failed!}
    </div>
</#if>
<#if success??>
    <div class="alert alert-success">
        <a href="#" class="close" data-dismiss="alert">×</a><span class="glyphicon glyphicon-ok"></span>&nbsp;&nbsp;${success!}
    </div>
</#if>